#ifndef AUTOBOXLAYOUT_H
#define AUTOBOXLAYOUT_H

#include <QtGui/QBoxLayout>
#include "Portability.h"

class AutoBoxLayout : public QBoxLayout
{
	Q_OBJECT

public:
	AutoBoxLayout(QWidget *parent=0);
	virtual ~AutoBoxLayout();
private slots:
	void refreshLayout();
private:
	Direction desktopDirection() const;

};

#endif // AUTOBOXLAYOUT_H
